package com.andeveloper.springdemo.service.product;

import java.util.List;

import com.andeveloper.springdemo.dto.ReturnValue;
import com.andeveloper.springdemo.model.BuyRecord;

public interface ProductService {
	public Integer addBuyRecord(BuyRecord record);
	public ReturnValue buyProduct(int id, int amount);
	Integer getAllBuyAmount();
	public List<BuyRecord> getAllBuyRecords();
}
